# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ircii
pkgver=20190117
pkgrel=1
pkgdesc="Universal IRC for Unix systems"
url="http://www.eterna.com.au/ircii/"
arch="all"
license="BSD-3-Clause"
makedepends="ncurses-dev openssl-dev"
subpackages="$pkgname-doc"
source="http://ircii.warped.com/ircii-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-default-server=irc.freenode.net
	make
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="08ca96cd62bae35245b40791c8588752b96136b53e5c9434d0f7976d03841fca80e8c83cf8608aad79c381820b06e00167447c6dc0c6294c6b3dfd91a9fdb6d4  ircii-20190117.tar.bz2"
